[FIXED JENKINS-19383]

Fixed a bug in bytecode-compatibility-transformer where class file
format prior to 1.49 cannot have the ldc instruction pointing to a class
constant.