Messi makes amends for missed penalty in Barca win