Make sure that get_xattr_data() never tries to malloc 0 bytes.