Cleanup tape error reporting.

Use always clrerror(mt_com.mt_op) where possible to never make an error
on what we do the error reporting on. The mt_com.mt_op contains the last
ioctl operation that failed. Also add some missing error reporting which
makes converity happy.
Fix compiler warnings when not using dynamic backend loading.