Raster-based Motion Prediction for Safe Self-Driving