Mob spawning platform isn't dark even without torches
This does seem to be a bug: blocks at the top of the world don't block sunlight. I would suggest reporting the issue at the MCPE issue tracker; in the meantime as a workaround you can drop the ceiling down a block and that should fix it.