store ship base-price as a double in C++ (to match Lua)

fixes #3129
Merge remote-tracking branch 'jpab/issue-3129'