Fix handling of parse error in JS widgets

Update wikibase.parsers.api.js accordingly with Ia36c97e
change in parsevalue api error output.

Bug: 64330
Change-Id: I32306400588b42c0ed01a41b64eb9cc3718b2f98
(cherry picked from commit 155273ca8fab9bbc023823062aad67cb99575964)