Fixed primitive type assignability in BeanUtils.copyProperties

Issue: SPR-11231
(cherry picked from commit 8a3b4c6)
Fixed @Bean meta-annotation detection when using ASM

This turned out to be a bug in the ASM-based AnnotationMetadata implementation where has/getAnnotatedMethods didn't consider meta-annotations., in contrast to its StandardAnnotationMetadata sibling.

Issue: SPR-10488
(cherry picked from commit 105e176)