Add nullcheck to damagesource.getEntity(), fixes BUKKIT-5114

Simple fix to prevent NPE crash when blowing up a filled item frame with TNT