[PATCH 4.19 045/205] cdrom: fix improper type cast, which can leat to information leak.