imroot: check if we're really root

The current setup simply prints 'imroot' to the serial port - which also works as a regular user and thus the 'assert' if imroot is not found is most useless.

Let's first test if our id is actually 0 and only then print out that we're actually root.