buf_size: fix handling of 1 element arrays
I originally wrote a hack to say that 1 element arrays were really an
unknown size because they're often used as the last member of a struct like
this:
struct my_struct {
...
unsigned int buf_size;
char buf[1];
};
(In olden days, compilers didn't allow zero size arrays??)
Anyway, this hack was bad because sometimes a one element array is what
people want and also these days we should return -1 for unknown size
arrays. So I have removed this hack.
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>