Multi-Task Network Pruning and Embedded Optimization for Real-time Inference in Autonomous Driving