Improved quantum algorithm for the random subset sum problem