manually calculate unix_timestamp for oracle

looks weird ... welcome to oracle

the conversions and castings are necessary to get the correct timestamp for the used timezone. 

@DeepDiver1975 @karlitschek this fixes the unixtimestamp db test for oracle