[PATCH 4.18 035/171] cdrom: fix improper type cast, which can leat to information leak.