Fixed ConstantInstruction#constant()

Previously it returned null when it should've returned a float or a double