Adds migration that fixes old journals.

Parent ids in planning element journals remained the same during the
earlier journal migrations and need to be fixed. This migration works
for postgres only.

Fixes [`#3028`](https://www.openproject.org/work_packages/3028).