qr: print_oops: introduce new kernel parameter

Introduce 'qr_oops' core_param so that we can disable the QR printing
if needed.

Signed-off-by: Levente Kurusa <levex@linux.com>
qr: print_oops: don't compress if we don't have a framebuffer

Since compressing and encoding the data makes no sense if we can't
output it later, restructure the function to quickly quit if there
is no framebuffer.

Signed-off-by: Levente Kurusa <levex@linux.com>
qr: print_oops: use memcpy instead of looping

Cleanup some indented empty lines as well.

Signed-off-by: Levente Kurusa <levex@linux.com>
qr: print_oops: fix wrong include guard

Since the filename is print_oops, let's remain consequent
and use PRINT_OOPS instead of PRINT_OPS

Signed-off-by: Levente Kurusa <levex@linux.com>
Merge pull request #3 from levex/for-teodora

print_oops cleanups