High-resolution 12.4 micron images of the starburst region in M82