Use VirtualMachineError in the scalautils attempt test so that it
also works under Scala 2.11.