channeldb: mark ApplyMigration as a test helper
channeldb: mark ApplyMigration as a test helper

With this change, errors from migrations will have the proper local line
number.

aakselrod/lnd,aakselrod/lnd